Skip to content

feat(web): Bots shelf as an org tree (reportsTo), founders never listed as bots - #191

Merged
nullStack65 merged 1 commit into
release/native-0.1.10from
feat/bots-shelf-org-tree
Nov 23, 2026
Merged

nullStack65 merged 1 commit into
release/native-0.1.10from
feat/bots-shelf-org-tree

Conversation

@nullStack65

@nullStack65 nullStack65 commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Deploy: fleet

What

The Bots shelf (My Bots, Shared Bots) now indents by reporting line, per Kameron's 2026-11-23 11:55 AM ET directive:

CoS
CEO
  CTO
    Platform / CTO   (seat: Platform)
    Infra / ARC Ops
    Release Engineer   (when a thread exists)
    PR Reviewer        (when a thread exists)
  CFO
  Product / Site     (seat: Product)
  Growth
  • apps/web/src/components/bots/botOrgTree.ts: pure orderBotTree (depth-first, chart order, roots first, unknown bots after the chart alphabetically) and isFounderName.
  • botPresence.ts splitStandingThreads: a standing thread named Kameron/Jeff/Jeffrey is a human, so it goes to the ordinary sections, never the Bots shelf. Founder DMs stay in the human/DM sections.
  • SidebarBotsGroup.tsx: renders rows with data-bot-depth and a 14px indent per level.

The chart mirrors reportsTo in closura-agent-config (PR 1222). It is a fixed map in the web client, keyed by persona name with aliases for today's names (Product / Site -> Product, Platform / CTO -> Platform, ARC Ops -> Infra / ARC Ops).

Verification

  • vp test run --project unit src/components/bots: 3 files, 21 tests pass (7 new in botOrgTree.test.ts: nesting, orphan-as-root, aliases, duplicates never dropped, founder detection, founder thread excluded).
  • vp lint on the touched files: no new findings (the two remaining in SidebarBotsGroup.tsx exist on the base). vp fmt applied.
  • vp run typecheck in apps/web: one error in src/components/chat/useComposerSend.ts:630, a file this PR does not touch.
  • Not verified: no visual check in a running app.

Limits

  • Cross-group nesting is not drawn: if a child's manager sits in the other group (for example a shared bot under CoS-owned parent), the child shows as a root of its own group. Today CEO and its reports are all shared, and CoS is the only one in My Bots.
  • The chart is hardcoded client-side because the thread standing contract has no reportsTo field; adding one is a contract and server change and is left for a follow-up if the client map drifts from the registry.
  • Based on release/native-0.1.10, where the Bots shelf lives; main does not have it.

Bots indent by reporting line: CoS and CEO at the root, CEO over CTO, CFO,
Product and Growth, CTO over Platform, Infra / ARC Ops, Release Engineer and
PR Reviewer. A bot whose manager is not in its group is shown as a root so
none disappears. Founder-named standing threads (Kameron, Jeff) are routed
out of the Bots shelf into the ordinary thread sections.

Mirrors reportsTo in closura-agent-config config/standing-threads.json.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@nullStack65

Copy link
Copy Markdown
Owner Author

CHECKPOINT

Independent technical review: Claude Sonnet 5.5 via T3 included-only Magpie provider. One full pass, head 8c4ceea, merge base 2ec93c6 (release/native-0.1.10). Read all four changed files and integration caller. No important or critical findings. Founder exclusion, deterministic sorting, orphan handling and duplicate retention checked. Per-group tree behavior is disclosed in the PR; prototype-key lookup nit skipped (unexpected name remains a root). No extra review round. This is automated review, not human approval.

{"reviewed_head":"8c4ceeab0640cca13e799986c878d277c6e96218","reviewer":"claude/claude-sonnet-5-5 (independent T3 delegate)","findings":[{"id":"N1","severity":"nit","summary":"Cross-group managers render as roots; documented limitation","outcome":"skipped"},{"id":"N2","severity":"nit","summary":"Prototype-key persona lookup violates return typing but preserves thread row","outcome":"skipped"}]}

@nullStack65

Copy link
Copy Markdown
Owner Author

START

START: implementation repair for Bots shelf org tree PR #191. Requested head 8c4ceea or newer; verify branch ref before edits. Scope: deployment declaration and classification/repair of reported voice E2E failures, focused delta verification only. REST unavailable until 2026-11-23T18:10:39Z; local preparation first. No merge, no admin, no spend.

@nullStack65

Copy link
Copy Markdown
Owner Author

RESULT

RESULT: implementation sub-agent stopped with CI verification pending; no source changes required or pushed. PR #191 head 8c4ceea, base 2ec93c6. Isolated worktree /mnt/arc-nvme/t3-worktrees/t3code/pr191-implementation is clean. REST resumed after 18:10:39Z, authenticated as nullStack65; no account change. Deploy: fleet already present; latest deploy-line run https://github.com/nullStack65/t3code/actions/runs/45227726834 is successful, so declaration repair is a no-op. Latest ARC attempt 1 https://github.com/nullStack65/t3code/actions/runs/45227727054 passed core, web, interaction latency (thread switch median 235.4 ms, composer 91.5 ms) and 290 mobile tests; mobile later failed downloading the git-core Ubuntu PPA index with HTTP 503 / apt exit 100. Founder-inbox aggregate failed only because mobile failed. Base ARC run https://github.com/nullStack65/t3code/actions/runs/45183817157 passed all four jobs. Local exact-head proof using Node 26.13.1: botOrgTree + botPresence 16 tests passed; voice budget selection 3 passed / 36 skipped; interaction latency 4 passed, thread switch median 279.5 ms and composer send 97.7 ms against 400 ms, app launch intentionally ungated by existing harness. Earlier independent review comment 7108719808 remains applicable; zero source delta, no extra review. Reran only failed jobs of run 45227727054; readback confirms attempt 2 queued at exact same head, mobile job 137906769689 queued and core/web carried successful. Parent owns collection of mobile and subsequent founder-inbox aggregate. All green: no, mobile rerun and founder aggregate still pending. No merge, admin, production deployment, secret publication or spend; no PR watch created by this child.

@nullStack65
nullStack65 merged commit 8fc8cb5 into release/native-0.1.10 Nov 23, 2026
10 of 19 checks passed
@nullStack65
nullStack65 deleted the feat/bots-shelf-org-tree branch November 23, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant